package com.it.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.it.domain.BlogTagEntity;
import com.it.util.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * @author : code1997
 * @date : 2021/9/9 22:46
 */
public interface BlogTagService extends IService<BlogTagEntity> {

    BlogTagEntity saveTag(BlogTagEntity blogTagEntity);

    BlogTagEntity getTag(Long id);

    PageUtils listTag(Map<String, Object> params);

    BlogTagEntity updateTag(Long id, BlogTagEntity blogTagEntity);

    List<BlogTagEntity> listTagTop(Integer size);

    void deleteTag(Long id);

    BlogTagEntity getTagByName(String name);

    List<BlogTagEntity> listTag();

    List<BlogTagEntity> listTag(String ids);

}
